package com.itheima.service.ums;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.utils.ResultData;
import com.itheima.vo.ums.UmsMenu;
import com.itheima.vo.ums.UmsMenuTree;

import java.util.List;

public interface MenuService extends IService<UmsMenu> {

    ResultData listParentId(Integer parentId, Integer pageNum, Integer pageSize);

    List<UmsMenuTree> treeList();

    List<UmsMenu> findAllMenu();

    void updateHidden(Long id, Integer hidden);
}
